<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:useBean id="m" class="com.tom.Member" scope="session"></jsp:useBean>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>會員登入</title>
</head>
<body>
<form action="LoginServlet" method="POST">
<div align="left"><br/>
<fieldset style="width:80%">
<legend>會員登入</legend><br/>
<input type="hidden" name="action" value="login" />
 身份證字號:<input  name="id" type="text" value="${m.id}"/>
	<br/>
	  密碼:<input name="password1" type="text" value="${m.password1}"/>
	<br/>
${CAP_WRONG }
	<IMG SRC="stickyImg"/>
	<br/>
	<input name = "answer" />
	<br/>
${m.loginMessage }
<input type="submit" value="登入" />
</fieldset>
</div>
<a href="add_member.jsp">您不是會員,請加入會員</a>
</form>
</body>
</html>